#include <stdio.h>
int main()
{
    int arr[5] = {0};
    int i = 0;
    for (i = 0; i < 4; i++)
    {
        scanf("%d", &arr[i]);
    }
    int m = arr[0];
    for (i = 1; i < 3; i++)
    {
        if(arr[i] > m)
        {
            m = arr[i];
        }
    }
printf("m = %d\n",m);

return 0;
    



}